package designMode.actionMode.strategy;

/**
 * Created by Administrator on 2018/4/14.
 */
public class Multiply extends AbstractCalculator implements ICalculator {
    @Override
    public int calculate(String exp) {
        int arrayInt[] = split(exp,"\\*");
        return arrayInt[0]+arrayInt[1];
    }
}
